﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="UserSettings" targetNamespace="http://tempuri.org/UserSettings.xsd" xmlns:mstns="http://tempuri.org/UserSettings.xsd" xmlns="http://tempuri.org/UserSettings.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="UserSettings" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="UserSettings" msprop:Generator_UserDSName="UserSettings">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Categories" msprop:Generator_TableClassName="CategoriesDataTable" msprop:Generator_TableVarName="tableCategories" msprop:Generator_TablePropName="Categories" msprop:Generator_RowDeletingName="CategoriesRowDeleting" msprop:Generator_UserTableName="Categories" msprop:Generator_RowChangingName="CategoriesRowChanging" msprop:Generator_RowEvHandlerName="CategoriesRowChangeEventHandler" msprop:Generator_RowDeletedName="CategoriesRowDeleted" msprop:Generator_RowEvArgName="CategoriesRowChangeEvent" msprop:Generator_RowChangedName="CategoriesRowChanged" msprop:Generator_RowClassName="CategoriesRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Category" msprop:Generator_TableClassName="CategoryDataTable" msprop:Generator_TableVarName="tableCategory" msprop:Generator_TablePropName="Category" msprop:Generator_RowDeletingName="CategoryRowDeleting" msprop:Generator_UserTableName="Category" msprop:Generator_RowChangingName="CategoryRowChanging" msprop:Generator_RowEvHandlerName="CategoryRowChangeEventHandler" msprop:Generator_RowDeletedName="CategoryRowDeleted" msprop:Generator_RowEvArgName="CategoryRowChangeEvent" msprop:Generator_RowChangedName="CategoryRowChanged" msprop:Generator_RowClassName="CategoryRow" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Path" msprop:Generator_ColumnVarNameInTable="columnPath" msprop:Generator_ColumnPropNameInRow="Path" msprop:Generator_ColumnPropNameInTable="PathColumn" msprop:Generator_UserColumnName="Path" type="xs:string" msdata:Ordinal="1" />
                    <xs:element name="Extensions" msprop:Generator_ColumnVarNameInTable="columnExtensions" msprop:Generator_ColumnPropNameInRow="Extensions" msprop:Generator_ColumnPropNameInTable="ExtensionsColumn" msprop:Generator_UserColumnName="Extensions" type="xs:string" msdata:Ordinal="2" />
                  </xs:sequence>
                  <xs:attribute name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" type="xs:string" use="required" />
                  <xs:attribute name="Categories_Id" msprop:Generator_ColumnVarNameInTable="columnCategories_Id" msprop:Generator_ColumnPropNameInRow="Categories_Id" msprop:Generator_ColumnPropNameInTable="Categories_IdColumn" msprop:Generator_UserColumnName="Categories_Id" type="xs:int" use="prohibited" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="Categories_Id" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnCategories_Id" msprop:Generator_ColumnPropNameInRow="Categories_Id" msprop:Generator_ColumnPropNameInTable="Categories_IdColumn" msprop:Generator_UserColumnName="Categories_Id" type="xs:int" msdata:AllowDBNull="false" use="prohibited" />
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Category_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Category" />
      <xs:field xpath="@mstns:Name" />
      <xs:field xpath="mstns:Path" />
    </xs:unique>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Categories" />
      <xs:field xpath="@mstns:Categories_Id" />
    </xs:unique>
    <xs:keyref name="Categories_Category" refer="Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserChildTable="Category" msprop:rel_Generator_ChildPropName="GetCategoryRows" msprop:rel_Generator_ParentPropName="CategoriesRow" msprop:rel_Generator_UserRelationName="Categories_Category" msprop:rel_Generator_RelationVarName="relationCategories_Category" msprop:rel_Generator_UserParentTable="Categories">
      <xs:selector xpath=".//mstns:Category" />
      <xs:field xpath="@mstns:Categories_Id" />
    </xs:keyref>
  </xs:element>
</xs:schema>